from rest_framework import serializers
from books.models import BooksInfo


class BooksSerializer(serializers.ModelSerializer):
    class Meta:
        model = BooksInfo
        fields = '__all__'